home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / brhj100i.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  6.5 KB  |  258 lines

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "BRHJ100I.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Brother HJ-100i"
  10. *MasterUnits: PAIR(720, 720)
  11. *ResourceDLL: "cn330res.dll"
  12. *PrintRate: 83
  13. *PrintRateUnit: CPS
  14. *PrinterType: SERIAL
  15. *Feature: Orientation
  16. {
  17.     *rcNameID: =ORIENTATION_DISPLAY
  18.     *DefaultOption: PORTRAIT
  19.     *Option: PORTRAIT
  20.     {
  21.         *rcNameID: =PORTRAIT_DISPLAY
  22.     }
  23.     *Option: LANDSCAPE_CC270
  24.     {
  25.         *rcNameID: =LANDSCAPE_DISPLAY
  26.     }
  27. }
  28. *Feature: InputBin
  29. {
  30.     *rcNameID: =PAPER_SOURCE_DISPLAY
  31.     *DefaultOption: AUTO
  32.     *Option: AUTO
  33.     {
  34.         *rcNameID: =AUTO_DISPLAY
  35.     }
  36.     *Option: MANUAL
  37.     {
  38.         *rcNameID: =MANUAL_FEED_DISPLAY
  39.     }
  40. }
  41. *Feature: Resolution
  42. {
  43.     *rcNameID: =RESOLUTION_DISPLAY
  44.     *DefaultOption: Option1
  45.     *Option: Option1
  46.     {
  47.         *Name: "360 x 360 " =DOTS_PER_INCH
  48.         *DPI: PAIR(360, 360)
  49.         *TextDPI: PAIR(360, 360)
  50.         *PinsPerLogPass: 48
  51.         *PinsPerPhysPass: 48
  52.         *MinStripBlankPixels: 270
  53.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  54.         *SpotDiameter: 100
  55.         *Command: CmdSendBlockData { *Cmd : "<1B>[g" %l{((NumOfDataBytes * 6) / 6) + 1}"<10>" }
  56.     }
  57.     *Option: Option2
  58.     {
  59.         *Name: "180 x 180 " =DOTS_PER_INCH
  60.         *DPI: PAIR(180, 180)
  61.         *TextDPI: PAIR(180, 180)
  62.         *PinsPerLogPass: 24
  63.         *PinsPerPhysPass: 24
  64.         *MinStripBlankPixels: 135
  65.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  66.         *SpotDiameter: 100
  67.         *Command: CmdSendBlockData { *Cmd : "<1B>[g" %l{((NumOfDataBytes * 3) / 3) + 1}"<0B>" }
  68.     }
  69.     *Option: Option3
  70.     {
  71.         *Name: "120 x 180 " =DOTS_PER_INCH
  72.         *DPI: PAIR(120, 180)
  73.         *TextDPI: PAIR(120, 180)
  74.         *PinsPerLogPass: 24
  75.         *PinsPerPhysPass: 24
  76.         *MinStripBlankPixels: 90
  77.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  78.         *SpotDiameter: 100
  79.         *Command: CmdSendBlockData { *Cmd : "<1B>[g" %l{((NumOfDataBytes * 3) / 3) + 1}"<09>" }
  80.     }
  81. }
  82. *Feature: PaperSize
  83. {
  84.     *rcNameID: =PAPER_SIZE_DISPLAY
  85.     *DefaultOption: LETTER
  86.     *Option: LETTER
  87.     {
  88.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  89.         *PrintableArea: PAIR(5760, 7380)
  90.         *PrintableOrigin: PAIR(180, 60)
  91.         *Command: CmdSelect
  92.         {
  93.             *Order: DOC_SETUP.4
  94.             *Cmd: "<1B>C<000B>"
  95.         }
  96.     }
  97.     *Option: LEGAL
  98.     {
  99.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  100.         *PrintableArea: PAIR(5760, 9540)
  101.         *PrintableOrigin: PAIR(180, 60)
  102.         *Command: CmdSelect
  103.         {
  104.             *Order: DOC_SETUP.4
  105.             *Cmd: "<1B>C<000E>"
  106.         }
  107.     }
  108.     *Option: A4
  109.     {
  110.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  111.         *PrintableArea: PAIR(5740, 7877)
  112.         *PrintableOrigin: PAIR(120, 60)
  113.         *switch: Resolution
  114.         {
  115.             *case: Option1
  116.             {
  117.                 *PrintableArea: PAIR(5740, 7876)
  118.             }
  119.             *case: Option2
  120.             {
  121.                 *PrintableArea: PAIR(5740, 7876)
  122.             }
  123.             *case: Option3
  124.             {
  125.                 *PrintableArea: PAIR(5736, 7876)
  126.             }
  127.         }
  128.         *Command: CmdSelect
  129.         {
  130.             *Order: DOC_SETUP.4
  131.             *Cmd: "<1B>0<1B>C^"
  132.         }
  133.     }
  134.     *Option: Option4
  135.     {
  136.         *rcNameID: 260
  137.         *PageDimensions: PAIR(6840, 2974)
  138.         *PrintableArea: PAIR(5760, 1894)
  139.         *PrintableOrigin: PAIR(180, 504)
  140.         *switch: Resolution
  141.         {
  142.             *case: Option2
  143.             {
  144.                 *PrintableArea: PAIR(5760, 1892)
  145.             }
  146.             *case: Option3
  147.             {
  148.                 *PrintableArea: PAIR(5760, 1892)
  149.             }
  150.         }
  151.         *Command: CmdSelect
  152.         {
  153.             *Order: DOC_SETUP.4
  154.             *Cmd: "<1B>0<1B>CD"
  155.         }
  156.     }
  157.     *Option: CUSTOMSIZE
  158.     {
  159.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  160.         *MinSize: PAIR(720, 720)
  161.         *MaxSize: PAIR(6120, 11080)
  162.         *MaxPrintableWidth: 5760
  163.         *MinLeftMargin: 120
  164.         *CenterPrintable?: FALSE
  165.         *TopMargin: 60
  166.         *BottomMargin: 480
  167.     }
  168. }
  169. *Feature: Halftone
  170. {
  171.     *rcNameID: =HALFTONING_DISPLAY
  172.     *DefaultOption: HT_PATSIZE_AUTO
  173.     *Option: HT_PATSIZE_AUTO
  174.     {
  175.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  176.     }
  177. *Ifdef: WINNT_50
  178.     *Option: HT_PATSIZE_SUPERCELL_M
  179.     {
  180.         *rcNameID: =HT_SUPERCELL_DISPLAY
  181.     }
  182. *Endif:
  183.     *Option: HT_PATSIZE_6x6_M
  184.     {
  185.         *rcNameID: =HT_DITHER6X6_DISPLAY
  186.     }
  187.     *Option: HT_PATSIZE_8x8_M
  188.     {
  189.         *rcNameID: =HT_DITHER8X8_DISPLAY
  190.     }
  191. }
  192. *Command: CmdStartDoc
  193. {
  194.     *Order: DOC_SETUP.1
  195.     *Cmd: "<1B>[\<0400B400B4001B>[T<0400000003>R<1B>6"
  196. }
  197. *Command: CmdStartPage
  198. {
  199.     *Order: PAGE_SETUP.1
  200.     *Cmd: "<1B>4<0D>"
  201. }
  202. *Command: CmdEndJob
  203. {
  204.     *Order: JOB_FINISH.1
  205.     *Cmd: "<1B>[K<010000>"
  206. }
  207. *RotateCoordinate?: FALSE
  208. *RotateRaster?: FALSE
  209. *RotateFont?: FALSE
  210. *switch: Orientation
  211. {
  212.     *case: PORTRAIT
  213.     {
  214.         *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_UA_ABLE,TC_RA_ABLE)
  215.     }
  216.     *case: LANDSCAPE_CC270
  217.     {
  218.         *TextCaps: LIST(TC_RA_ABLE)
  219.     }
  220. }
  221. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  222. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  223. *MaxLineSpacing: 255
  224. *XMoveThreshold: *
  225. *XMoveUnit: 120
  226. *Command: CmdXMoveRelRight { *Cmd : "<1B>d" %l{(DestXRel / 6) } }
  227. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  228. *Command: CmdCR { *Cmd : "<0D>" }
  229. *Command: CmdLF { *Cmd : "<0A>" }
  230. *Command: CmdFF { *Cmd : "<0C>" }
  231. *Command: CmdBackSpace { *Cmd : "<08>" }
  232. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  233. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  234. *EjectPageWithFF?: TRUE
  235. *OutputDataFormat: V_BYTE
  236. *OptimizeLeftBound?: FALSE
  237. *CursorXAfterSendBlockData: AT_GRXDATA_END
  238. *CursorYAfterSendBlockData: NO_MOVE
  239. *DefaultFont: 69
  240. *DefaultCTT: -2
  241. *switch: Orientation
  242. {
  243.     *case: PORTRAIT
  244.     {
  245.         *DeviceFonts: LIST(68,69,70,71,72,73,74,75)
  246.     }
  247.     *case: LANDSCAPE_CC270
  248.     {
  249.         *DeviceFonts: LIST()
  250.     }
  251. }
  252. *Command: CmdBoldOn { *Cmd : "<1B>G" }
  253. *Command: CmdBoldOff { *Cmd : "<1B>H" }
  254. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  255. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  256. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>p<01>" }
  257. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>p<00>" }
  258.